package ai.zixing.factory.factory_method.factory.impl;

import ai.zixing.factory.factory_method.factory.FreeGoodsFactory;
import ai.zixing.factory.simple_factory.service.IFreeGoods;
import ai.zixing.factory.simple_factory.service.impl.DiscountFreeGoods;

/**
 * 生产优惠券发放接口-具体工厂
 */
public class DiscountFreeGoodsFactory implements FreeGoodsFactory {
    @Override
    public IFreeGoods getInstance() {
        return new DiscountFreeGoods();
    }
}
